var gulp = require('gulp');
    gulpLoadPlugins = require('gulp-load-plugins'),//通过gulp-load-plugins加载插件
    plugins = gulpLoadPlugins();
gulp.task('default', function() {
  //do something
});
gulp.task('minify', function () {
   gulp.src('src/js/app.js')
      .pipe(uglify())
      .pipe(gulp.dest('build'))
});
gulp.task('min', function () {
   return gulp.src(['src/js/jszip.js', 'src/js/js-xlsx.js','src/js/excelUtil.js'])
      .pipe(plugins.uglify())
      .pipe(plugins.concat('excel.min.js'))
      .pipe(gulp.dest('build'));
});